

public class Assessment
{

        private String assessmentId;
        private String description;
        private float weightGiven;
        private float passMark;
        private AssignmentSpec assignmentSpec;
        private Subject subject;
        private boolean isOpenForSubmission;

        public Assessment(String assessmentId, String description, float weightGiven,
                        float passMark, AssignmentSpec assignmentSpec, Subject subject,
                        boolean isOpenForSubmission)
        {
                super();
                this.assessmentId = assessmentId;
                this.description = description;
                this.weightGiven = weightGiven;
                this.passMark = passMark;
                this.assignmentSpec = assignmentSpec;
                this.subject = subject;
                this.isOpenForSubmission = isOpenForSubmission;
        }

        public Assessment()
        {
                // TODO Auto-generated constructor stub
        }

        public String getAssessmentId()
        {
                return assessmentId;
        }

        public void setAssessmentId(String assessmentId)
        {
                this.assessmentId = assessmentId;
        }

        public String getDescription()
        {
                return description;
        }

        public void setDescription(String description)
        {
                this.description = description;
        }

        public float getWeightGiven()
        {
                return weightGiven;
        }

        public void setWeightGiven(float weightGiven)
        {
                this.weightGiven = weightGiven;
        }

        public float getPassMark()
        {
                return passMark;
        }

        public void setPassMark(float passMark)
        {
                this.passMark = passMark;
        }

        public AssignmentSpec getAssignmentSpec()
        {
                return assignmentSpec;
        }

        public void setAssignmentSpec(AssignmentSpec assignmentSpec)
        {
                this.assignmentSpec = assignmentSpec;
        }

        public Subject getSubject()
        {
                return subject;
        }

        public void setSubject(Subject subject)
        {
                this.subject = subject;
        }

        public void setOpenForSubmission(boolean isOpenForSubmission)
        {
                this.isOpenForSubmission = isOpenForSubmission;

        }

        public boolean isOpenForSubmission()
        {
                return isOpenForSubmission;
        }

}
